package TestPackageWithoutServer;

import cmfg.AgentDataServiceImpl;
import cmfg.NetDataServiceImpl;
import cmfg.SnodeAgentDataDaoImpl;
import cmfg.Value;
import cmfg.WSDataDaoImpl;
import mySocketCom.MessageHandle;
import mySocketCom.PassParams;

public class SetParam {
	public static Value setParam(){
		Value value=new Value();
		NetDataServiceImpl netDataServiceImpl = new NetDataServiceImpl();
		StringBuffer receiveMess=new StringBuffer();
		receiveMess.append("@17:18:30$zc$WS,20,0.5,4$Agent,0.5$PDG,0.3,0.1,0.4,0.2$imitation,0$Tick,100000$#");
		String[] mesArray=MessageHandle.handle(receiveMess);
		
		PassParams passParams=new PassParams(mesArray,value);
		passParams.pass();
		
		return value;
	}

}
